import request from '@/router/axios';

// ### 创建工单
export const saveOrderModify = (data) => {
  return request({
    url: '/api/xmbz-work/workOrderModify/saveOrderModify',
    method: 'post',
    data
  })
}

// ### 查询工单
export const workOrderModifyList = (query) => {
  return request({
    url: '/api/xmbz-work/workOrderModify/list',
    method: 'get',
    params: query
  })
}

// 处理工单
export const disposeOrder = (data) => {
  return request({
    url: '/api/xmbz-work/workOrderModify/dispose',
    method: 'post',
    data
  })
}
